package com.ym.b2b.product.dao;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.product.sqlbean.EmBPromoActivity;
import com.zc.commons.base.Page;

public interface EmBPromoActivityDAO {

    Long searchPageEmBPromoActivityNum(EmBPromoActivity embpromoactivity) throws DataAccessException;

    void searchPageEmBPromoActivity(EmBPromoActivity embpromoactivity, Page<EmBPromoActivity> page)
                                                                                                   throws DataAccessException;

    void insertEmBPromoActivity(EmBPromoActivity record) throws DataAccessException;

    int updateEmBPromoActivity(EmBPromoActivity record) throws DataAccessException;

    EmBPromoActivity searchEmBPromoActivity(Long activityId) throws DataAccessException;

    int deleteEmBPromoActivity(Long activityId) throws DataAccessException;
}
